package cn.dubnation.base.constants;


public class SystemConstants {

    /**
     * 店铺的常量
     */
    public static class Shop {
        /**
         * 店铺状态
         *      1=待审核 2=审核通过待激活 3=激活成功 4=驳回
         */
        public static final Integer AUDIT = 1;
        public static final Integer TO_BE_ACTIVATED = 2;
        public static final Integer ACTIVATED = 3;
        public static final Integer REJECT = 4;
    }

    /**
     * 员工的常量
     */
    public static class Employee {
        /**
         * 员工状态
         *    1=正常 2=锁定 3=注销
         */
        public static final Integer AVAILABLE = 1;
        public static final Integer UNAVAILABLE = 2;
        public static final Integer LOGOUT = 3;
        /**
         * 激活码
         */
        public static final String ACTIVE_CODE = "ACTIVE";
    }

    /**
     * 店铺、员工关联常量
     */
    public static class ShopEmployee {
        /**
         * 是否是管理者
         *    1=管理者 0-员工
         */
        public static final Integer IS_ADMIN = 1;
        public static final Integer NO_ADMIN = 0;
    }

    /**
     * 操作日志常量
     */
    public static class ShopOperateLog {
        /**
         * 操作类型:1=入驻 2=审核成功 3=审核驳回 4=激活
         */
        public static final Integer SETTLE_IN = 1;
        public static final Integer AUDIT_SUCCESS = 2;
        public static final Integer AUDIT_REJECT = 3;
        public static final Integer ACTIVATED = 4;
    }

    /**
     * 存储在redis中的常量
     */
    public static class Redis {
        /**
         * 车辆类型数据
         */
        public static final String CAR_TYPE_TREE =  "CAR_TYPE_TREE";
    }
}
